package org.example.seata.bs.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author hzq
 * @date 2021/11/30 17:37
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@ComponentScan(basePackages = "org.example.seata.bs")
@MapperScan(basePackages = "org.example.seata.bs.*.mapper")
@EnableFeignClients(basePackages = "org.example.seata.bs.api.feign")
public @interface EnableApi {

}
